package com.hqyj.system.service.impl;

import com.hqyj.system.mapper.productInformationMapper;
import com.hqyj.system.model.productInformation;
import com.hqyj.system.service.ProductInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductInformationServiceImpl implements ProductInformationService {
    @Autowired
    private productInformationMapper productInformationMapper1;
    @Override
    public List<productInformation> queryAllProductInformation() {
        return productInformationMapper1.queryAllProductInformation();
    }

    @Override
    public int addProductInformationBy(productInformation productInformation) {
        return productInformationMapper1.addProductInformationBy(productInformation);
    }
}
